package com.xiaoxiong.mami.service;

import com.xiaoxiong.mami.dao.daomain.GoodsProperties;
import com.xiaoxiong.mami.dao.mapperImpl.GoodsPropertiesImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by Administrator on 2017/8/23.
 */
@Service
public class GoodsPropertiesService {

    @Autowired
    GoodsPropertiesImpl goodsPropertiesImpl;


    public List<GoodsProperties> getGoodsPropertiesById(String goodsId){
        return  goodsPropertiesImpl.getGoodsPropertiesById(goodsId);
    }
    public GoodsProperties getGoodsPropertyById(String goodsId, int id){
        return  goodsPropertiesImpl.getGoodsPropertyById(goodsId,id);
    }
    public List<GoodsProperties> getGoodsPropertiesByIds(List<String> propertyIdList){
        return  goodsPropertiesImpl.getGoodsPropertiesByIds(propertyIdList);
    }



}
